package com.hgxd.entity.vo.pagevo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hgxd.base.PageEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author wtf
 * @create 2023-11-08 16:22
 * @description :
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "PageAndTimeEntity对象", description = "维护设备记录类")
public class EquipmentMaintenanceRecordsPageVo extends PageEntity {


    @ApiModelProperty("设备名称")
    private String taskName;

    @ApiModelProperty("开始时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;

    @ApiModelProperty("结束时间")
    @JsonFormat(shape=JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endingTime;

    @ApiModelProperty("维护结果")
    private String maintenanceResult;

}
